/*
 * \file ClassWidget.h
 *
 * \date Created on: Jan 21, 2009
 * \author sarah
 */

#ifndef CLASSWIDGET_H_
#define CLASSWIDGET_H_

#include <QWidget>

#include "ui_classpage.h"

class CharacterData;
class XmlDirModel;

class ClassWidget : public QWidget
{
	Q_OBJECT
public:
    ClassWidget(CharacterData *data, QWidget *parent = 0);
    virtual ~ClassWidget();
    void initialize();
public Q_SLOTS:
    void updateToClass(const QString &);
private:
    Ui::ClassPageWidget mPage;
    CharacterData *mData;
    XmlDirModel *mDirModel;
    QString mCurrentClass;
};

#endif /* CLASSWIDGET_H_ */
